<template>
    <a-button size="small" style="margin:4px 8px" @mousedown.stop="LinkMove">
        <template #icon> <AimOutlined /></template>
    </a-button>
</template>
<script setup>
import { nextTick, inject } from "vue";
import { AimOutlined } from "@ant-design/icons-vue";
const LinkStatus = inject("LinkStatus");
const MoveEvent = inject("MoveEvent");

function LinkMove(event) {
    LinkStatus.value = true;
    nextTick(() => {
        MoveEvent(event);
    });
}





</script>
<style lang="less" scoped></style>
